<?php
/*
 *  view: statistic/statistic_home.php
 */
?>

<h1><?php echo lang('statistic'); ?></h1>

<form method="post" id="form-filter" name='form-statistic-filter' action="" >
    <fieldset class="ui-widget-content ui-corner-all field_filter" >
        <legend class="ui-widget-content ui-corner-all"><?= lang('filter') ?></legend>
        <div style='display: block; width: 100%; clear: both; height:30px;'>
        <label ><?= lang('date_from') ?>: </label>
        
        <label ><?= lang('date_to') ?>: </label>
        </div>
        <input type="text"  name="filter[date_from]" id="date_from" placeholder="<?php echo lang('date_from') ?>" class="text date_picker ui-widget-content ui-corner-all"/>
        <input type="text"  name="filter[date_to]" id="date_to" placeholder="<?php echo lang('date_to') ?>" class="text date_picker ui-widget-content ui-corner-all"/><br/><br/>
       <input type="button" name="filter_submit" id="filter_submit" class="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-all" value="<?php echo lang('search');?>" />
        <input type="reset" name="filter_reset" id="filter_reset" class="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-all" value="<?php echo lang('reset');?>" />
        <br/>
         </fieldset>
</form>
<br/>

        <table id="statistic" class='dialog_table' width='100%' cellpadding=3px cellspacing=0>
            <thead>    
            <th><?= lang('date') ?></th>
            <th><?= lang('messages_out') ?></th>
            <th><?= lang('messages_in') ?></th>           
            
            <th>0</th>
            <th>1</th>
            <th>2</th>
            <th>3</th>
            <th>4</th>
            <th>5</th>
            <th>6</th>    
            <th>7</th>
            <th>8</th> 
            <th>9</th> 
            <th>10</th> 
            <th>11</th> 
            <th>12</th> 
            <th>13</th> 
            <th>14</th> 
            <th>15</th> 
            <th>16</th> 
            <th>17</th> 
            <th>18</th> 
            <th>19</th> 
            <th>20</th> 
            <th>21</th> 
            <th>22</th> 
            <th>23</th> 
           </thead>
            <tbody >
                <?php
                $this->load->view('statistic/statistic_list');
                ?>
            </tbody>

        </table>
   